<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    var aa = 20;
    var bb = 30
    var cc = 40
    if(aa>bb&&aa>cc){
        console.log(aa)
    }
    else if(bb>aa&&bb>cc){
        console.log(bb)
    }else{
        console.log(cc)
    }
</script>